package org.jumuning.redis.model;

import java.io.Serializable;

public class MessagesData implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String type;

    private Object payload;


    public MessagesData() {}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getPayload() {
        return payload;
    }

    public void setPayload(Object payload) {
        this.payload = payload;
    }

    @Override
    public String toString() {
        return "DataVO{" +
                "id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", payload=" + payload +
                '}';

    }
}
